/*
 * Created on Jul 31, 2005
 *
 */
package org.mushroomdb.util.comparator;

import java.util.Comparator;

/**
 * @author Matu
 *
 */
public class ComparatorImpl implements Comparator {

	/**
	 * @see java.util.Comparator#compare(java.lang.Object, java.lang.Object)
	 */
	public int compare(Object arg0, Object arg1) {
		Comparable left = (Comparable) arg0;
		Comparable right = (Comparable) arg1;
		return left.compareTo(right);
	}

}
